CommonsBooking\Model\Booking A

Total Complexity 59
Dependencies 11
Dependents 15
Total lines 476
Lines of code 245
Logical lines of code 120
Comment lines 142
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
assignBookableTimeframeFields()
S
47 6 41
bookingNotice()
S
55 6 19
formattedBookingCode()
S
60 6 13
pickupDatetime()
S
54 5 22
returnDatetime()
S
54 5 21
getBookableTimeFrame()
S
59 2 14
cancel()
S
61 2 13
formattedBookingDate()
S
63 2 10
bookingLink()
S
69 2 6
sanitizeTimeField()
S
65 2 9
getItem()
S
69 2 7
getLocation()
S
69 2 7
isPast()
S
69 2 7
getEmailSignature()
S
74 1 5
getBookingCode()
S
79 1 3
getFormattedUserInfo()
S
73 1 5
getFormattedEditLink()
S
77 1 3
appendToInternalComment()
S
66 1 7
isConfirmed()
S
80 1 3
getiCal()
S
72 1 5
getEndDate()
S
78 1 3
isCancelled()
S
80 1 3
bookingLinkUrl()
S
78 1 3
returnComment()
S
80 1 3
getStartDate()
S
78 1 3
showBookingCodes()
S
79 1 3
sendCancellationMail()
S
75 1 4
isUnconfirmed()
S
80 1 3